package com.ajavaer.framework.exception;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class WeixinException extends Throwable {
    private static final long serialVersionUID = 1621790045358984070L;
    private String message;
    Logger log = LoggerFactory.getLogger(WeixinException.class);

    public WeixinException() {
    }

    public WeixinException(String message) {
        this.message = message;
        log.error(message, this);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
